package com.gxa.mapper.community;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.entity.community.Community;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * @ClassName CommunityMapper
 * @Description 社区管理的mapper
 * @Author Mr.YUAN
 * @Date 2022/10/12 9:03
 */

@Repository
public interface CommunityMapper extends BaseMapper<Community> {
    //判断是否重复
    List<Community> queryByNum(@Param("com_num") String communityNum);
}